﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Iptv.ResourceDowner.Model
{
    /// <summary>
    /// M3U8任务模型
    /// </summary>
    public class M3u8TaskModel
    {
        /// <summary>
        /// 站点标记
        /// </summary>
        public string Tag { get; set; }
        /// <summary>
        /// 任务流水号
        /// </summary>
        public string ID { get; set; }
        /// <summary>
        /// M3U8任务编号
        /// </summary>
        public string TaskID { get; set; }
        /// <summary>
        /// M3U8远端下载地址
        /// </summary>
        public string M3u8Url { get; set; }
        /// <summary>
        /// M3U8本地存储地址
        /// </summary>
        public string M3u8Path { get; set; }
        /// <summary>
        /// TS文件本地存储目录
        /// </summary>
        public string LocalDirectory { get; set; }
        /// <summary>
        /// 是否多线程下载
        /// </summary>
        public bool AllowMultiDown { get; set; }
        /// <summary>
        /// 最大下载线程数
        /// </summary>
        public int MaxDownThread { get; set; }
        /// <summary>
        /// Ts下载集合
        /// </summary>
        public List<TsEntity> SubUrl { get; set; }
    }
}
